package com.zwx.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author 文希
 * @create 2020-02-12 22:22
 */
@Service
public class SendEmailService {

    @Async
    public String sendEmail(){
        System.out.println("2");
        return "发送Email提醒用户已经登录";
    }
}
